//== SAGITTARIUS ============================================================================

//== BEGINNING OF CODE ===============================================================

#include "sagittarius/core/SagittariusCore.h"
#include "sagittarius/util/sg_alphanum.h"

#include <math.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>

char* sg_uitoa(uint64 n) {
    char* a=malloc(128*sizeof(char));
    
    AN(snprintf(a, 128, "%lu", n));
    return a;
}

char* sg_itoa(int64 n) {
    char* a=malloc(128*sizeof(char));
    
    AN(snprintf(a, 128, "%ld", n));
    return a;
}
